package com.cube.truthseer.entity.user.constants;

import java.time.Duration;

public interface UserConstants {
    String DEFAULT_PASSWORD = "123456";

    // 验证码的Redis key登录前缀
    String USER_VERIFY_CODE_KEY_LOGIN = "sms:user:code:email:login";

    // 验证码的Redis key注册前缀
    String USER_VERIFY_CODE_KEY_REGISTER = "sms:user:code:email:register";
    // 验证码有效期，5分钟
    Duration USER_VERIFY_CODE_TTL = Duration.ofMinutes(5);

}
